home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 21
/
Aminet 21 (1997)(GTI - Schatztruhe)[!][Oct 1997].iso
/
Aminet
/
util
/
rexx
/
zipscripts.lha
/
eject
next >
Wrap
Text File
|
1997-07-11
|
624b
|
24 lines
/* Eject.rexx Version 2.0 */
/* Created by Todd Deery, January 27, 1997 */
/* Modified February 6, 1997 */
/* Modified July 11, 1997 */
options results
address command 'info zip: >t:out'
OPEN('in','t:out','READ')
do i=1 to 7
gar=READLN('in')
end
p=POS('[Mounted]',gar)
dev=left(gar,p-2)
dev=dev||':'
CLOSE('in')
if exists('zip:setup/path-remove') then do
address command 'execute zip:setup/path-remove'
end
address command 'c:ziptool >nil: zip: eject'
address command 'assign >nil: 'dev' dismount'
address command 'delete >nil: t:out'
address command 'delete >nil: t:comm*'
address command 'run >nil: rx rexx:zip.rexx'